IncLocCost

Cost Related Statement

Syntax samples

INCLOCCOST <expression>

INCLOCCOST 15

INCLOCCOST -15

Description

Enables you to increment the cost (positively or negatively) of the current location by a given amount. Use this function to add to the location’s actual, accumulated dollar amount.

Valid In

Operation logic.

Components

<expression>

The positive or negative change to the value of cost.

Example

The logic below shows how to add a cost per entry to a location for an entering entity. ProModel automatically tracks operation cost per time unit specified in the cost dialog, however, you may assign a one time cost each time an entity enters a location.

In the following example, an entity, EntA, arrives for inspection at location Inspect. We define no rate of operation cost for Inspect because each inspection accrues a one time cost regardless of how long the entity remains at Inspect. At Inspect, workers inspect EntA. After inspection, ProModel adds the cost to the location through the IncLocCost statement and then to the entity with the IncEntCost statement.

Process Table

Entity

Location

Opn (min)

EntA

Inspect

WAIT N(3,.7)

INCLOCCOST 3

INCENTCOST 3

Routing Table

Blk

Output

Destination

Rule

Move Logic

1

EntA

Packaging

PROBABILITY .93

 

 

EntA

Rework

.07

 

See Also

GETCOST, GETRESRATE(), INCENTCOST, INCRESCOST, and SETRATE.